<script setup>
import { ref } from 'vue'
let a = ref('defineexpose')
function f() {
  alert('defineExpose')
}
defineExpose({
  a
})
</script>

<template>
  <div>这是子</div>

</template>

<style scoped></style>